package edu.neumont.pro180._2009_q2.chess.pieceFactory;

import edu.neumont.pro180._2009_q2.Player;
import edu.neumont.pro180._2009_q2.chess.RandomAIPlayer;
import edu.neumont.pro180._2009_q2.interfaces.IPlayerFactory;

public class RandomAIPlayerFactory implements IPlayerFactory {

	private static RandomAIPlayerFactory instance;

	public static RandomAIPlayerFactory getInstance() {
		if (instance == null) {
			instance = new RandomAIPlayerFactory();
		}
		return instance;
	}

	public Player create() {
		return new RandomAIPlayer();
	}
}
